package org.shock.ss.sms.bean;


public class Tree {
	private String id;
	private String text;
	private String code;
	private Boolean leaf;
	private Boolean flg;
	private String iconCls;
	private Boolean expanded;
	private String href;
	private String loader;
	private Boolean checked = null;
	private String hrefTarget = "mainFrame";
	private String zt;

	public void setId(String id) {
		this.id = id;
	}

	public Tree() {
		super();
	}

	public Tree(String id, String text, Boolean leaf, String iconCls, String href,
			String target) {
		super();
		this.id = id;
		this.text = text;
		this.leaf = leaf;
		this.iconCls = iconCls;
		this.href = href;
		this.hrefTarget = target;
	}
	public Tree(String id, String text, Boolean leaf, String iconCls, String href,
			String target,String zt) {
		super();
		this.id = id;
		this.text = text;
		this.leaf = leaf;
		this.iconCls = iconCls;
		this.href = href;
		this.hrefTarget = target;
		this.zt=zt;
	}
	public Tree(String id, String text) {
		super();
		this.id = id;
		this.text = text;
	}


	public String getId() {
		return id;
	}

	public String getText() {
		return text;
	}

	public void setText(String text) {
		this.text = text;
	}

	public Boolean getExpanded() {
		return expanded;
	}

	public void setExpanded(Boolean expanded) {
		this.expanded = expanded;
	}

	public String getHref() {
		return href;
	}

	public void setHref(String href) {
		this.href = href;
	}

	public Boolean getLeaf() {
		return leaf;
	}

	public void setLeaf(Boolean leaf) {
		this.leaf = leaf;
	}

	public String getLoader() {
		return loader;
	}

	public void setLoader(String loader) {
		this.loader = loader;
	}

	public Boolean getFlg() {
		return flg;
	}

	public void setFlg(Boolean flg) {
		this.flg = flg;
	}

	public Boolean getChecked() {
		return checked;
	}

	public void setChecked(Boolean checked) {
		this.checked = checked;
	}

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public String getHrefTarget() {
		return hrefTarget;
	}

	public void setHrefTarget(String hrefTarget) {
		this.hrefTarget = hrefTarget;
	}

	public String getIconCls() {
		return iconCls;
	}

	public void setIconCls(String iconCls) {
		this.iconCls = iconCls;
	}

	/**
	 * @return the zt
	 */
	public String getZt() {
		return zt;
	}

	/**
	 * @param zt the zt to set
	 */
	public void setZt(String zt) {
		this.zt = zt;
	}

}
